<%--
  Created by IntelliJ IDEA.
  User: jiangxuchuan
  Date: 2022/1/3
  Time: 20:23
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>Salary</title>
</head>
<body>
    <table>
        <tr>
            <th>年份</th>
            <td>薪资</td>
        </tr>
        <%
            for (int i = 0;i<10;i++){
                response.getWriter().print("<tr>");
                response.getWriter().print("<th>"+i+"</th>");
                response.getWriter().print("<td>"+(1500+i)+"</td>");
                response.getWriter().print("</tr>");
            }
        %>
    </table>
</body>
</html>
